a = int(input('请输入一个三位数：'))
b = a // 100
print(b)
c = (a // 10) % 10
print(c)
d = a % 10
print(d)

e = print(b**3 + c**3 + d**3)

if e == a:
 print('这是水仙花数')

for i in range(100,1000):
 if i == (i//100)**3 + (i//10%10)**3+(i%10)**3:
  print( i)